#require:host\get-ping
#require:services\sharepoint\2010\get-version

param(
)

Add-PSSnapin Microsoft.SharePoint.PowerShell -ea SilentlyContinue
[Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") | out-null

if((get-spfarm) -ne $null) {
	1
}
0